package Model_Layer;

public class Part_Order 
{
	int amount;
	int partID;
	Product product;
	Order order;
	
	public Part_Order()
	{
		
	}
	
	public Part_Order(int amount, int partID,  Product product, Order order)
	{
		this.partID = partID;
		this.amount = amount;
		this.order = order;
		this.product = product;
	}
	
	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}
	
	public int getAmount()
	{
		return amount;
	}
	
	public int getPartID() {
		return partID;
	}

	public void setPartID(int partID) {
		this.partID = partID;
	}

	public void setAmount(int amount)
	{
		this.amount = amount;
	}
}